<template>
  <div>
    <p>parentNode</p>
    <h3>静态props</h3>
    <child for-child-msg="aaa"></child>
    <child for-child-msg="bbb"></child>
    <h3>动态props</h3>
    <child :for-child-msg="childMsg1"></child>
    <child :for-child-msg="childMsg2"></child>
  </div>
</template>

<script>
  import PropEventChildDemo from './prop-event-child-demo'
	export default {
		name: "prop-event-parent-demo",
    components: {
	    child: PropEventChildDemo
    },
    data: function() {
      return {
        childMsg1: "Dynamic props msg for child-1",
        childMsg2: "Dynamic props msg for child-2"
      };
    }
	}
</script>

<style scoped>

</style>
